import request from '@/utils/request'

// 查询盒间移位详情列表
export function listArchiveBoxinnerMove(query) {
  return request({
    url: '/archive/ArchiveBoxinnerMove/list',
    method: 'get',
    params: query
  })
}

// 查询盒间移位详情详细
export function getArchiveBoxinnerMove(id) {
  return request({
    url: '/archive/ArchiveBoxinnerMove/' + id,
    method: 'get'
  })
}

// 新增盒间移位详情
export function addArchiveBoxinnerMove(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMove',
    method: 'post',
    data: data
  })
}

// 修改盒间移位详情
export function updateArchiveBoxinnerMove(data) {
  return request({
    url: '/archive/ArchiveBoxinnerMove',
    method: 'put',
    data: data
  })
}

// 删除盒间移位详情
export function delArchiveBoxinnerMove(id) {
  return request({
    url: '/archive/ArchiveBoxinnerMove/' + id,
    method: 'delete'
  })
}
